import Mock from 'mockjs';

Mock.mock('/records',{
    'record|1-10':[{
        'id|+1': 0,
        'date':"@date('2019-01-dd')",
        'title|1': ["收入","支出"],
        'amount|1-100': 100
    }]
})